package com.xueyi.system.plantRaising.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.plantRaising.domain.dto.PlantRaisingDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;
import java.time.LocalDateTime;

/**
 * 育苗定植 持久化对象
 *
 * @author zlf
 */
@TableName(value = "base_plant_raising", excludeProperty = {"name", "remark", "sort"})
public class PlantRaisingPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 种苗id
     */
    @Excel(name = "种苗id")
    @TableField("seed_id")
    private String seedId;

    /**
     * 种苗名称
     */
    @Excel(name = "种苗名称")
    @TableField("seed_name")
    private String seedName;

    /**
     * 种子批号
     */
    @Excel(name = "种子批号")
    @TableField("seed_batch")
    private String seedBatch;

    /**
     * 定植
     */
    @Excel(name = "定植")
    @TableField("type")
    private String type;

    /**
     * 基地id
     */
    @Excel(name = "基地id")
    @TableField("area_id")
    private String areaId;

    /**
     * 基地名称
     */
    @Excel(name = "基地名称")
    @TableField("area_name")
    private String areaName;

    /**
     * 基地名称
     */
    @Excel(name = "基地名称")
    @TableField("parcel_id")
    private String parcelId;

    /**
     * 基地名称
     */
    @Excel(name = "基地名称")
    @TableField("parcel_name")
    private String parcelName;

    /**
     * 定植图片
     */
    @Excel(name = "定植图片")
    @TableField("image")
    private String image;

    /**
     * 操作人id
     */
    @Excel(name = "操作人id")
    @TableField("user_id")
    private String userId;

    /**
     * 操作人名称
     */
    @Excel(name = "操作人名称")
    @TableField("user_name")
    private String userName;

    /**
     * 移栽方法
     */
    @Excel(name = "移栽方法")
    @TableField("transplant_way")
    private String transplantWay;

    /**
     * 移栽日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "移栽日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("transplant_time")
    private LocalDateTime transplantTime;

    /**
     * 移栽数量
     */
    @Excel(name = "移栽数量")
    @TableField("transplant_num")
    private String transplantNum;

    /**
     * 种苗处理
     */
    @Excel(name = "种苗处理")
    @TableField("seed_handle")
    private String seedHandle;

    /**
     * 灌溉方式
     */
    @Excel(name = "灌溉方式")
    @TableField("irrigate_way")
    private String irrigateWay;


    /**
     * 灌溉日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "灌溉日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("irrigate_date")
    private LocalDateTime irrigateDate;

    /**
     * 操作日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "操作日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("operate_date")
    private LocalDateTime operateDate;

    /**
     * 状态
     */
    @Excel(name = "状态")
    @TableField("status")
    private String status;

    @Excel(name = "批次)")
    @TableField("plant_id")
    private String plantId;

    public String getPlantId() {
        return plantId;
    }

    public void setPlantId(String plantId) {
        this.plantId = plantId;
    }

    public String getTransplantWay() {
        return transplantWay;
    }

    public void setTransplantWay(String transplantWay) {
        this.transplantWay = transplantWay;
    }

    public String getTransplantNum() {
        return transplantNum;
    }

    public void setTransplantNum(String transplantNum) {
        this.transplantNum = transplantNum;
    }

    public String getSeedHandle() {
        return seedHandle;
    }

    public void setSeedHandle(String seedHandle) {
        this.seedHandle = seedHandle;
    }

    public String getIrrigateWay() {
        return irrigateWay;
    }

    public void setIrrigateWay(String irrigateWay) {
        this.irrigateWay = irrigateWay;
    }

    public LocalDateTime getIrrigateDate() {
        return irrigateDate;
    }

    public void setIrrigateDate(LocalDateTime irrigateDate) {
        this.irrigateDate = irrigateDate;
    }

    public LocalDateTime getTransplantTime() {
        return transplantTime;
    }

    public void setTransplantTime(LocalDateTime transplantTime) {
        this.transplantTime = transplantTime;
    }

    public String getSeedBatch() {
        return seedBatch;
    }

    public void setSeedBatch(String seedBatch) {
        this.seedBatch = seedBatch;
    }

    public void setSeedId(String seedId) {
        this.seedId = seedId;
    }

    public String getSeedId() {
        return seedId;
    }

    public void setSeedName(String seedName) {
        this.seedName = seedName;
    }

    public String getSeedName() {
        return seedName;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setParcelId(String parcelId) {
        this.parcelId = parcelId;
    }

    public String getParcelId() {
        return parcelId;
    }

    public void setParcelName(String parcelName) {
        this.parcelName = parcelName;
    }

    public String getParcelName() {
        return parcelName;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setOperateDate(LocalDateTime operateDate) {
        this.operateDate = operateDate;
    }

    public LocalDateTime getOperateDate() {
        return operateDate;
    }

    @Override
    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String getStatus() {
        return status;
    }

}
